/**
 * File Name   : CommonActionForm.java
 * Description : 
 */
package com.hh.common.struts;

import org.apache.struts.action.ActionForm;

/**
 * @author 冯昌硕
 * @create 2012-12-20 下午9:05:48
 */
public class CommonActionForm extends ActionForm {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 7320016873336290226L;

    /**
     * 当前页
     */
    private int currentPage = 1;
    
    /**
     * 每页数据大小，默认10条
     */
    private int pageSize = 10;
    
    /**
     * 记录总页数
     */
    private int totlePage;
    
    /**
     * 记录总数
     */
    private int totleCnt;

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotlePage() {
        return totlePage;
    }

    public void setTotlePage(int totlePage) {
        this.totlePage = totlePage;
    }

    public int getTotleCnt() {
        return totleCnt;
    }

    public void setTotleCnt(int totleCnt) {
        this.totleCnt = totleCnt;
    }
    
}
